/**
 * @Author: Ben
 * @Date: 2021/4/2 8:59
 */
package dao

import (
	"beegovuestudy/models"
	"github.com/astaxie/beego/logs"
	"github.com/beego/beego/v2/client/orm"
	_ "github.com/go-sql-driver/mysql"
)

func InsertUserDao(user models.User)  {
	o := orm.NewOrm()
	logs.Info(o.Insert(&user))
}

